//
//  RAPDateFormatter.swift
//  COPYCAT-Weibo
//
//  Created by 闫萌 on 1/5/16.
//  Copyright © 2016 RendezvousAuParadis. All rights reserved.
//

import UIKit

class RAPDateFormatter: NSDateFormatter {
    /**
    全局入口
    */
    static let sharedDateFormatter: RAPDateFormatter = {
        let dateFormatter = RAPDateFormatter()
        dateFormatter
        return dateFormatter
    }()
    
    /*
    将构造器标记为私有，防止外界通过其直接创建实例
    */
    private override init() {
        super.init()
    }

    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}
